<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ page isELIgnored="false"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<c:set var="plugin" value="${pageContext.request.contextPath}/static/fw/plugin" />
<c:set var="plugin_relative" value="/static/fw/plugin" />

<script type="text/javascript">
var ctx = "${ctx}"
 ,plugin = "${plugin}"
 ,plugin_relative = "${plugin_relative}"
 ,basePath = "<%=basePath%>"
 ,sessionId= "${pageContext.session.id}"
 ;
 window.global = window.global || {};
 window.global.plugin = "${plugin}";
 window.global.plugin_relative = "${plugin_relative}";
 window.global.basePath = "<%=basePath%>";
 window.global.ctx = "${ctx}";
 window.global.sessionId = "${pageContext.session.id}";
</script>
<c:url var="jqueryUrl" value="${plugin_relative}/jquery/1.11.1/jquery-1.11.1.min.js"/>
<c:url var="jquery_migrateUrl" value="${plugin_relative}/jquery/jquery-migrate/jquery-migrate-1.2.1.min.js"/>
<c:url var="My97DatePickerUrl" value="${plugin_relative}/My97DatePickerBeta/My97DatePicker/WdatePicker.js"/>
<c:url var="json2Url" value="${plugin_relative}/tool/json2.js"/>
<c:url var="html5shivUrl" value="${plugin_relative}/ie/html5shiv/dist/html5shiv.min.js"/>
<c:url var="html5shiv_printshivUrl" value="${plugin_relative}/ie/html5shiv/dist/html5shiv-printshiv.min.js"/>
<c:url var="respondUrl" value="${plugin_relative}/ie/respond/dest/respond.min.js"/>
<c:url var="swfobjectUrl" value="${plugin_relative}/tool/swfobject/swfobject/swfobject.js"/>
<c:url var="requirejsUrl" value="${plugin_relative}/tool/requirejs/require.js"/>
<c:url var="umeditorUrl" value="${plugin_relative}/editor/baidu/ueditor/"/>
<c:url var="ueditorUrl" value="${plugin_relative}/editor/baidu/umeditor/"/>
